package com.alpha.eceasy.mall.api.entity;

import com.alpha.eceasy.extension.BaseFormInfo;
import com.alpha.eceasy.mall.api.handler.ListStringHandler;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 需求联系单详情表
 * </p>
 *
 * @author huangpengfei
 * @since 2024-04-28
 */
@Getter
@Setter
@TableName(value = "mall_demand_detail", autoResultMap = true)
@Schema(name = "MallDemandDetail", description = "需求联系单详情表")
public class MallDemandDetail extends BaseFormInfo<MallDemandDetail> {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "需求单guid")
    private String mallDemandGuid;
    @Schema(description = "内容")
    private String content;
    @Schema(description = "图片")
    @TableField(typeHandler = ListStringHandler.class)
    private List<String> imageList;
    @Schema(description = "描述")
    private String description;
}
